package org.example.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import org.example.order.entity.Order;

import java.util.List;

public interface OrderService extends IService<Order> {
    void add(Order order);
    void deleteById(Long id);
    void deleteBatch(List<Long> ids);
    void update(Order order);
    Order selectById(Long id);
    List<Order> selectAll();
    PageInfo<Order> selectPage(Order order, Integer pageNum, Integer pageSize);
}
